Skip to content

chore: install uv via pip#1341

Open
iBotPeaches wants to merge 1 commit into
masterfrom
uv-installed-via-pip
Open

chore: install uv via pip#1341
iBotPeaches wants to merge 1 commit into
masterfrom
uv-installed-via-pip

Conversation

@iBotPeaches

Copy link
Copy Markdown
Member

Problem

It's a bit insecure to CURL and then just shell a random online file.

Solution

I believe we can trust Astral, but more secure until Netlify natively supports "uv" we can use pip to install uv like recommended here - https://docs.astral.sh/uv/getting-started/installation/#pypi

@janbrasna

Copy link
Copy Markdown
Contributor

LGTM: https://app.netlify.com/projects/fastlane-docs-preview/deploys/6a4a86ac2236420008e6ffdf#L42

$ pip install uv; uv sync; uv run mkdocs build
Requirement already satisfied: uv in /opt/buildhome/.local/share/mise/installs/python/3.8.13/lib/python3.8/site-packages (0.11.26)
Resolved 27 packages in 11ms
Checked 25 packages in 8ms

(while it appears as uv got included during some bootstrapping already, this is definitely a reasonable way to either make sure it's available or get it installed — logs look happy.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants